<template>
    <h3 class="list-title"><slot></slot></h3>
</template>
<style lang="less" scoped>
.list-title{
    font-size: 16px;
    padding: 20px 10px;
    color: #333;
    position: relative;
    &::before{
        content: "";
        position:absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 15px;
        border-left: 2px solid #dd001b;
    }
}
</style>